/*
 * 统计代码
 * */
define(function(require,exports,module){
	/*通过 require 引入依赖*/
	require('jquery');
	require('//www.googleadservices.com/pagead/conversion.js')
	window.onload=function(){
		//GA统计代码 
		(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
		m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
		})(window,document,'script','//www.darryring.com/bundles/acmefrontend/js/page/analytics.js','ga');
		
		ga('create', 'UA-46798784-1', 'auto');
		// ga('require', 'displayfeatures');
		ga('send', 'pageview');  
	      
		//百度代码 
		var _hmt = _hmt || [];
		(function() {
		  var hm = document.createElement("script");
		  hm.src = "https://hm.baidu.com/hm.js?2c06eda8c20a9c51a74b33803073d4cc";
		  var s = document.getElementsByTagName("script")[0]; 
		  s.parentNode.insertBefore(hm, s);
		})();
		
		//Google 再营销代码
		/* <![CDATA[  */
		var google_conversion_id = 974707783;
		var google_custom_params = window.google_tag_params;
		var google_remarketing_only = true;
		/* ]]>*/
		
		//腾讯广点通广告代码
		var gdt_tracker = gdt_tracker || [];
		gdt_tracker.push(["set_source_id", "33581"]);
		(function() {
			var doc=document, h=doc.getElementsByTagName("head")[0], s=doc.createElement("script");
			s.async=true; s.src="//qzs.qq.com/qzone/biz/res/gt.js";
			h && h.insertBefore(s,h.firstChild)
		})();
		
	};
});